<?php
namespace apps\manage\controllers;

use Yii;
use models\Manager;

/**
 * 用户信息
 */
class UserController extends BaseController
{
    /**
     * 管理员列表
     *
     * @parent manager/list
     * @return mixed
     */
    public function actionInfo(){
        $user = Yii::$app->getUser();
        return $user->getIdentity();
    }

}